<?php
$dtds['edit']['name']['name'] 			= '关键词';
$dtds['edit']['category_id']['name'] 	= '所在类目';
$dtds['edit']['orderby']['name']  		= '排序';

$dtds['edit']['name']['value']['required']  		= true;
$dtds['edit']['category_id']['value']['required']  	= false;
//$dtds['edit']['category_id']['value']['mask']  		= "/^[0-9]+$/i";
$dtds['edit']['orderby']['value']['required']  		= true;
$dtds['edit']['orderby']['value']['mask']  			= "/^[0-9]+$/i";

$dtds['edit']['name']['message']['required'] 				= "%s必填项";
$dtds['edit']['category_id']['message']['required'] 		= "%s必填项";
//$dtds['edit']['category_id']['message']['mask']  			= "%s只能是数字";
$dtds['edit']['orderby']['message']['required']  			= "%s必填项";
$dtds['edit']['orderby']['message']['mask']  				= "%s只能是数字";